#ifndef __UTILITIES_H
#define __UTILITIES_H
#include <cmath>

double min(double v1, double v2, double v3) {
	return min(min(v1, v2), v3);
}

double max(double v1, double v2, double v3) {
	return max(max(v1, v2), v3);
}

double min(double v1, double v2, double v3, double v4) {
	return min(min(v1, v2), min(v3, v4));
}

double max(double v1, double v2, double v3, double v4) {
	return max(max(v1, v2), max(v3, v4));
}
#endif
